<%@ page language="java" %>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page pageEncoding="utf-8"%>
<jsp:directive.include file="/WEB-INF/views/admin/include/taglibs.jsp"/>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<div class="page-header">
  <h2>Board <small>Board index registered</small></h2>
</div>
<p class="pull-right">
  <button class="btn btn-primary" type="button">Edit</button>
</p>
<table class="table">
	<thead>
		<tr>
			<td>#</td>
			<td>Board Name</td>
			<td>Board ID</td>
			<td></td>
			<td></td>
		</tr>
	</thead>
	<tbody>
	<c:if test="${not empty boardList}">
		<c:forEach items="${boardList}" var="row" varStatus="status">
		<tr>
			<td>${status.count }</td>
			<td>${row.boardName}</td>
			<td>${row.boardId}</td>
			<td></td>
			<td></td>
		</tr>
		</c:forEach>
	</c:if>
	</tbody>
</table>
<div class="pagination pagination-centered">
  <ul>
    <li class="disabled"><a href="#">&laquo;</a></li>
    <li class="active"><a href="#">1</a></li>
    <li class="inactive"><a href="#">2</a></li>
    <li class="inactive"><a href="#">3</a></li>
    <li class="inactive"><a href="#">4</a></li>
    <li class="inactive"><a href="#">5</a></li>
    <li class="disabled"><a href="#">&laquo;</a></li>
  </ul>
</div>
</body>
</html>